<style type="text/css">
.sel_wrap11{
    display: inline-block;
    position:relative;
    width:22%;
    height:1.5em;
    background:#fff url(images/png.png) no-repeat right center;
    border:1px solid #a0a0a0;
    border-radius:2px;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    cursor:pointer;
    _filter:alpha(opacity=0);
}
.sel_wrap11 span{
    display: inline-block;
    font-size: 0.8em;
    /*line-height: 2em;*/
    padding:0.4em 0.4em;
}
.sel_wrap11 .select{
    width:100%;
    height:1.5em;
    z-index:4;
    font-size: 1em;
    position:absolute;
    top:0;
    left:0;
    margin:0;
    padding:0;
    opacity:0;
    cursor:pointer;
}
</style>
<li class="que-line" id="<?=$que->id?>">
<!--    <span class="que-line-head">-->
<!--        <span class="que-line-head-title">Qusetion&nbsp;<?=$pagecount+1?></span>-->
<!--    <?=$que->title?>-->
<!--    </span>-->
    <input name="Q[<?=$que->id?>][ans][id]" type="hidden" value="<?=$que->id?>">
    <ul class="que-line-content">
        <li >
            <span id="yaowei">腰围：</span>
            <div class="sel_wrap11" id="sel_wrap11">
                <span>60</span>
                <select name="Q[5][ans][wc]" class="select" id="c_select11">
                </select>
            </div>
            <span>cm</span>
        </li>
    </ul>
</li>
<script>
function carry_m(max1,min1){
    var c_select11 = document.getElementById('c_select11');
    var temp1 = "";
    for(var i = min1; i <= max1; i++){
      temp1 += "<option value=" + i + ">" + i + "</option>";
    }
    c_select11.innerHTML = temp1;
}
carry_m(110,50);
function $(x){
    return document.getElementById(x);
  }
  var sel11=$("c_select11");
  var wrap11=$("sel_wrap11");
  var result11 =wrap11.getElementsByTagName("span");
  wrap11.onmouseover=function(){
    this.style.backgroundColor="#fff";
  }
  wrap11.onmouseout=function(){
    this.style.backgroundColor="#fafafa";
  }
  sel11.onchange=function(){
    var opt=this.getElementsByTagName("option");
    var len=opt.length;
    for(i=0;i<len;i++){
      if(opt[i].selected==true){
        x=opt[i].innerHTML;
      }
    }
    result11[0].innerHTML=x;
  }
</script>	